#include "switch.h"

Switch::Switch(QWidget *parent) : QWidget(parent)
{
    setAutoFillBackground(true);  //设置自动填充
    QPalette palette = BKGCLR;
    setPalette(palette);
}
